
PlayerEvents.loggedIn(event => {
    var playerName = event.player.name.string

    var PlayerData
    PlayerData = playerDataReader.readPlayerData(playerName)
    if (PlayerData == null) {
        event.player.addItem("eou:start_sword")
        PlayerData = playerDataReader.readOrCreatePlayerData(playerName)
    }
})